define Plugin/juci
	CODE_LOAD:=01
	STYLE_LOAD:=01
	TPL_LOAD:=01

	STYLES-y:=
	STYLES-y+=src/css/normalize.css
	STYLES-y+=src/lib/css/bootstrap.min.css
	STYLES-y+=src/lib/css/bootstrap-select.min.css
	STYLES-y+=src/lib/css/font-awesome.min.css
	STYLES-y+=src/lib/css/ionicons.min.css
	STYLES-y+=src/lib/css/angular-ui.min.css
	STYLES-y+=src/lib/css/select.min.css
	STYLES-y+=src/lib/css/angular-ui-switch.min.css
	STYLES-y+=src/lib/css/awesome-bootstrap-checkbox.css
	STYLES-y+=src/lib/css/vis.min.css
	STYLES-y+=src/lib/css/ng-tags-input.css
	STYLES-y+=src/lib/css/ng-tags-input.bootstrap.css
	STYLES-y+=src/lib/css/dropdown-multi-select.css
	STYLES-y+=src/css/juci-icons.css
	STYLES-y+=src/css/nga.min.css
	STYLES-y+=src/css/app.css
	
	JAVASCRIPT-y:=
	JAVASCRIPT-y+=src/lib/js/async.js
	JAVASCRIPT-y+=src/lib/js/vis.js
	JAVASCRIPT-y+=src/lib/js/js-schema.min.js
	JAVASCRIPT-y+=src/lib/js/require.js
	JAVASCRIPT-y+=src/lib/js/jquery.min.js
	JAVASCRIPT-y+=src/lib/js/cytoscape.min.js
	JAVASCRIPT-y+=src/lib/js/bootstrap.min.js
	JAVASCRIPT-y+=src/lib/js/angular.min.js
	JAVASCRIPT-y+=src/lib/js/angular-ui.min.js
	JAVASCRIPT-y+=src/lib/js/angular-ui-router.js
	JAVASCRIPT-y+=src/lib/js/angular-gettext.min.js
	JAVASCRIPT-y+=src/lib/js/angular-prompt.js
	JAVASCRIPT-y+=src/lib/js/bootstrap-select.min.js
	JAVASCRIPT-y+=src/lib/js/select.min.js
	JAVASCRIPT-y+=src/lib/js/angular-animate.min.js
	JAVASCRIPT-y+=src/lib/js/angular-drag-and-drop-lists.js
	JAVASCRIPT-y+=src/lib/js/angular-ui-bootstrap-juci.min.js
	JAVASCRIPT-y+=src/lib/js/jquery-jsonrpc.js
	JAVASCRIPT-y+=src/lib/js/angular-ui-switch.min.js
	JAVASCRIPT-y+=src/lib/js/angular-modal-service.min.js
	JAVASCRIPT-y+=src/lib/js/angular-checklist-model.js
	JAVASCRIPT-y+=src/lib/js/dropdown-multi-select.js
	JAVASCRIPT-y+=src/lib/js/ng-tags-input.js

	JAVASCRIPT-y+=src/js/compat.js
	JAVASCRIPT-y+=src/js/rpc.js
	JAVASCRIPT-y+=src/js/uci.js
	JAVASCRIPT-y+=src/js/juci.js
	JAVASCRIPT-y+=src/js/app.js
	JAVASCRIPT-y+=src/js/localStorage.js
	JAVASCRIPT-y+=src/js/config.js
	JAVASCRIPT-y+=src/js/navigation.js
	JAVASCRIPT-y+=src/js/status.js
	JAVASCRIPT-y+=src/js/tr.js
	JAVASCRIPT-y+=src/js/theme.js
	JAVASCRIPT-y+=src/js/timeout.js
	JAVASCRIPT-y+=src/widgets/*.js
	JAVASCRIPT-y+=src/pages/*.js
endef

define Plugin/juci/install
	$(INSTALL_DIR) $(1)/www/
	$(INSTALL_DIR) $(1)/etc/config/
	$(INSTALL_DIR) $(1)/etc/init.d/
	$(CP) $(PLUGIN_DIR)/juci.default.config $(1)/etc/config/juci
	$(CP) $(PLUGIN_DIR)/juci.init $(1)/etc/init.d/juci
	$(CP) $(PLUGIN_DIR)/src/img/ $(1)/www/
	$(CP) $(PLUGIN_DIR)/src/fonts/ $(1)/www/
	$(INSTALL_DIR) $(1)/usr/share/lua/juci/
	$(CP) $(PLUGIN_DIR)/lualibs/* $(1)/usr/share/lua/
	$(CP) $(PLUGIN_DIR)/lua/* $(1)/usr/share/lua/juci/
	$(CP) $(PLUGIN_DIR)/reboot.html $(1)/www/	
endef
